package com.zhang.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zhang.pojo.InputCarBean;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface IInputCarMapper extends BaseMapper<InputCarBean> {

    /**
     * 根据入库商品id修改数量
     * @param inputCarId 入库商品id
     * @param number 新数量
     */
    void update(@Param("inputCarId") int inputCarId, @Param("number")int number);
}
